package returnDataStruct;

import pojo.stadium;

import java.util.ArrayList;
import java.util.List;

public class locationListData {
    private List<locationData> ll;

    public locationListData(List<stadium> sl){
        ll = new ArrayList<>();
        for(stadium s:sl){
            ll.add(new locationData(s));
        }
    }

    public List<locationData> getLl() {
        return ll;
    }

    public void setLl(List<locationData> ll) {
        this.ll = ll;
    }

    @Override
    public String toString() {
        return "locationListData{" +
                "ll=" + ll +
                '}';
    }
}
